package com.zzyl.nursing.service;

import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.common.exception.base.BaseException;
import com.zzyl.nursing.domain.NursingTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.NursingTaskDto;
import com.zzyl.nursing.dto.TaskDto;
import com.zzyl.nursing.vo.NursingTaskVo;

/**
 * 护理任务Service接口
 *
 * @author ruoyi
 * @date 2025-03-02
 */
public interface INursingTaskService extends IService<NursingTask> {
    /**
     * 查询护理任务列表
     *
     * @param
     * @return 护理任务集合
     */
    public TableDataInfo selectNursingTaskList(NursingTaskDto nursingTaskDto);

    /**
     * 获取护理任务详细信息
     */
    NursingTaskVo getInfo(Long id);

    /**
     * 取消任务
     */
    int cancel(TaskDto taskDto);

    /**
     * 执行任务
     */
    int doTask(TaskDto taskDto);

    /**
     * 任务改期
     */
    int updateTimeTask(TaskDto taskDto);
}
